﻿function ShowDate() {
    setInterval(getDate, 1000);
}
function getDate() {
    $("spanDate").innerHTML = "&nbsp;" + new Date().toLocaleString();
}
function OnSelect_Menu(that) {
    OnAll_NoSelect();
    that.className = "active";
}
function OnAll_NoSelect() {
    for (i = 1; i <= 7; i++) {
        $("liItem" + i).className = "inactive";
    }
}
function $(cid) {
    return document.getElementById(cid);
}
function $$(cid) {
    return window.parent.document.getElementById(cid);
}